package com.cskaoyan.wordmemorize.common.constant;

public class SystemPermissions {
    // 物料管理 - 书籍类目管理
    public static final class Category {
        public static final String ADD = "admin:category:add";
        public static final String UPDATE = "admin:category:update";
        public static final String DELETE = "admin:category:delete";
        public static final String BATCH_DELETE = "admin:category:batchdelete";
        public static final String SEARCH = "admin:category:search";
    }

    // 物料管理 - 书籍管理
    public static final class Book {
        public static final String ADD = "admin:book:add";
        public static final String UPDATE = "admin:book:update";
        public static final String DELETE = "admin:book:delete";
        public static final String BATCH_DELETE = "admin:book:batchdelete";
        public static final String SEARCH = "admin:book:search";
    }

    // 物料管理 - 章节管理
    public static final class Chapter {
        public static final String ADD = "admin:chapter:add";
        public static final String UPDATE = "admin:chapter:update";
        public static final String DELETE = "admin:chapter:delete";
        public static final String BATCH_DELETE = "admin:chapter:batchdelete";
        public static final String SEARCH = "admin:chapter:search";
    }

    // 物料管理 - 词汇管理
    public static final class Vocabulary {
        public static final String ADD = "admin:voc:add";
        public static final String UPDATE = "admin:voc:update";
        public static final String DELETE = "admin:voc:delete";
        public static final String BATCH_DELETE = "admin:voc:batchdelete";
        public static final String SEARCH = "admin:voc:search";
        public static final String EXCEL_UPLOAD = "admin:voc:excel:upload";
    }

    // 账号权限管理 - 权限管理
    public static final class Permission {
        public static final String ADD = "admin:permission:add";
        public static final String UPDATE = "admin:permission:update";
        public static final String DELETE = "admin:permission:delete";
        public static final String SEARCH = "admin:permission:search";
        public static final String ADD_SUB = "admin:permission:add:sub";
    }

    // 账号权限管理 - 角色管理
    public static final class Role {
        public static final String ADD = "admin:role:add";
        public static final String UPDATE = "admin:role:update";
        public static final String DELETE = "admin:role:delete";
        public static final String AUTHORIZE = "admin:role:authorize";
        public static final String SEARCH = "admin:role:search";
    }

    // 账号权限管理 - 员工管理
    public static final class Employee {
        public static final String ADD = "admin:employee:add";
        public static final String UPDATE = "admin:employee:update";
        public static final String DELETE = "admin:employee:delete";
        public static final String SEARCH = "admin:employee:search";
    }

    // 题目管理
    public static final class Topic {
        public static final String ADD = "admin:topic:add";
        public static final String UPDATE = "admin:topic:update";
        public static final String DELETE = "admin:topic:delete";
        public static final String SEARCH = "admin:topic:search";
    }

    // 商品管理权限 - 付费商品
    public static final class Goods {
        public static final String ADD = "admin:goods:add";
        public static final String UPDATE = "admin:goods:update";
        public static final String DELETE = "admin:goods:delete";
        public static final String BATCH_DELETE = "admin:goods:batchdelete";
        public static final String SEARCH = "admin:goods:search";
    }

    // 等级权限管理 - 等级管理
    public static final class Level {
        public static final String ADD = "admin:level:add";
        public static final String UPDATE = "admin:level:update";
        public static final String DELETE = "admin:leveldelete"; // 注意：原始数据中可能存在拼写错误
        public static final String BATCH_DELETE = "admin:level:batchdelete";
        public static final String SEARCH = "admin:level:search";
    }

    // 等级权限管理 - 等级特权管理
    public static final class Privilege {
        public static final String ADD = "admin:privilege:add";
        public static final String UPDATE = "admin:privilege:update";
        public static final String DELETE = "admin:privilege:delete";
        public static final String BATCH_DELETE = "admin:privilege:batchdelete";
        public static final String SEARCH = "admin:privilege:search";
    }

    // 系统管理 - 操作日志管理
    public static final class Log {
        public static final String SEARCH = "admin:log:search";
    }

    // AI阅读
    public static final class AIRead {
        public static final class Situation {
            public static final String ADD = "admin:ai-read:situation:add";
            public static final String UPDATE = "admin:ai-read:situation:update";
            public static final String DELETE = "admin:ai-read:situation:delete";
            public static final String BATCH_DELETE = "admin:ai-read:situation:batchdelete";
            public static final String SEARCH = "admin:ai-read:situation:search";
        }
    }
}
